package com.hualude.roadsign.dto;

import java.math.BigDecimal;

/**
 * Created by SN on 2017/2/18.
 */
public class MenuDto {
    private Integer menuId;
    private String menuName;
    private String menuIcon;
    private String menuUrl;
    private Integer menuFather;
    private Integer menuType;
    private Integer menuSort;
    private BigDecimal powerInsert;
    private BigDecimal powerDelete;
    private BigDecimal powerUpdate;
    private BigDecimal powerSelect;
    private BigDecimal powerCheck;

    public MenuDto() {
    }

    public MenuDto(Integer menuId, String menuName, Integer menuFather, Integer menuType, Integer menuSort) {
        this.menuId = menuId;
        this.menuName = menuName;
        this.menuFather = menuFather;
        this.menuType = menuType;
        this.menuSort = menuSort;
    }

    /**
     * @Description: 用于显示用户菜单信息
     * @Author: SN
     * @Date: 2017/2/22 10:23
     */
    public MenuDto(Integer menuId, String menuName, String menuIcon, String menuUrl, Integer menuFather, Integer menuType, Integer menuSort) {
        this.menuId = menuId;
        this.menuName = menuName;
        this.menuIcon = menuIcon;
        this.menuUrl = menuUrl;
        this.menuFather = menuFather;
        this.menuType = menuType;
        this.menuSort = menuSort;
    }

    /**
     * @Description: 获取每个菜单对应的权限
     * @Author: SN
     * @Date: 2017/2/23 0:28
     */
    public MenuDto(Integer menuId, BigDecimal powerInsert, BigDecimal powerDelete, BigDecimal powerUpdate, BigDecimal powerSelect) {
        this.menuId = menuId;
        this.powerInsert = powerInsert;
        this.powerDelete = powerDelete;
        this.powerUpdate = powerUpdate;
        this.powerSelect = powerSelect;
    }

    public Integer getMenuId() {
        return menuId;
    }

    public void setMenuId(Integer menuId) {
        this.menuId = menuId;
    }

    public String getMenuName() {
        return menuName;
    }

    public void setMenuName(String menuName) {
        this.menuName = menuName;
    }

    public String getMenuIcon() {
        return menuIcon;
    }

    public void setMenuIcon(String menuIcon) {
        this.menuIcon = menuIcon;
    }

    public String getMenuUrl() {
        return menuUrl;
    }

    public void setMenuUrl(String menuUrl) {
        this.menuUrl = menuUrl;
    }

    public Integer getMenuFather() {
        return menuFather;
    }

    public void setMenuFather(Integer menuFather) {
        this.menuFather = menuFather;
    }

    public Integer getMenuType() {
        return menuType;
    }

    public void setMenuType(Integer menuType) {
        this.menuType = menuType;
    }

    public Integer getMenuSort() {
        return menuSort;
    }

    public void setMenuSort(Integer menuSort) {
        this.menuSort = menuSort;
    }

    public BigDecimal getPowerInsert() {
        return powerInsert;
    }

    public void setPowerInsert(BigDecimal powerInsert) {
        this.powerInsert = powerInsert;
    }

    public BigDecimal getPowerDelete() {
        return powerDelete;
    }

    public void setPowerDelete(BigDecimal powerDelete) {
        this.powerDelete = powerDelete;
    }

    public BigDecimal getPowerUpdate() {
        return powerUpdate;
    }

    public void setPowerUpdate(BigDecimal powerUpdate) {
        this.powerUpdate = powerUpdate;
    }

    public BigDecimal getPowerSelect() {
        return powerSelect;
    }

    public void setPowerSelect(BigDecimal powerSelect) {
        this.powerSelect = powerSelect;
    }

    public BigDecimal getPowerCheck() {
        return powerCheck;
    }

    public void setPowerCheck(BigDecimal powerCheck) {
        this.powerCheck = powerCheck;
    }
}
